<?php
/**
 * 删除 MaxCDN 消失的表情
 *
 * 因为 MaxCDN 莫名其妙的删除了两个表情，导致出现图片 404 的情况，所以暂时删除了这两个表情。
 *
 * @since Unknown
 * @deprecated Beginning 4.0.1
 */
function Bing_remove_die_smileys() {
	global $wpsmiliestrans;

	_deprecated_function( __FUNCTION__, '4.0.1' );

	if( !isset( $wpsmiliestrans ) || !is_array( $wpsmiliestrans ) )
		return;

	$remove_smileys = array(
		"\xf0\x9f\x99\x82",
		"\xf0\x9f\x99\x81",

		"\xf0\x9f\x99\x84"
	);

	foreach ( $wpsmiliestrans as $key => $smiley )
		if ( in_array( $smiley, $remove_smileys ) )
			unset( $wpsmiliestrans[$key] );
}
// add_action( 'init', 'Bing_remove_die_smileys', 8 );

// End of page.
